package com.hotel.service;

import org.springframework.mail.MailAuthenticationException;

import javax.mail.MessagingException;

public interface MailService {
    void sendEmail(String to,String subject,String text);
    int sendLoginCodeEmail(String to) throws MessagingException;
}
